<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>User Registration</title>
    <style>
        body {
            background-image: url(../static/images/background.jpg);
            background-size: cover;
            background-position: center;
            font-family: Arial, sans-serif;
            background-color: #f5f5f5;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }

        form {
            background-color: rgba(255, 255, 255, 0.7);
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            width: 300px;
            backdrop-filter: blur(8px);
        }

        h1 {
            text-align: center;
            color: #333;
        }

        label {
            display: block;
            margin-bottom: 5px;
            color: #333;
        }

        input {
            width: 90%;
            padding: 10px;
            margin-top: 25px;
            margin-bottom: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }

        input[type="submit"] {
            background-color: #007bff;
            color: #fff;
            border: none;
            padding: 15px;
            margin-top: 20px;
            margin-left: 10px;
            cursor: pointer;
            border-radius: 4px;
        }

        input[type="submit"]:hover {
            background-color: #0056b3;
        }
    </style>
</head>
<body>
<form action="/submit_registration" method="post">
    <h1 style="font-family: 幼圆,serif;">用户注册</h1>
    <hr>
    <br>
    <!--用户名-->
    <label for="name">
        <input type="text" placeholder="用户名" id="name" name="name" required>
    </label>
    <!--密码-->
    <label for="password">
        <input type="password" placeholder="密码" id="password" name="password" required>
    </label>
    <!--邮箱-->
    <label for="email">
        <input type="email" placeholder="邮箱" id="email" name="email" required>
    </label>
    <!--密保问题-->
    <label for="security_question">
        <input type="text" placeholder="密保问题(用于忘记密码更改)" id="security_question" name="security_question" required>
    </label>
    <input type="submit" value="注册">
</form>
</body>
</html>
